﻿<%@ Page Language="C#" Inherits="E.Web.training.course.LearningProcess" %>

<%@ Import Namespace="E.Model" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
  <title>学习历程</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/t_main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/t_course.css" type="text/css" media="all" />
  <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
</head>
<body>
  <form id="form1" method="post" action="?act=s">  
    <div class="m_top"></div>
    <div class="block" style="height:100px;">
      <div style="width:650px; height:22px;">
        <img alt="" src="/images/training/icon/coursesearch.gif" class="fl" />
        <div class="title">&nbsp;课程查询</div>
      </div>
      <div class="spe_line_1"></div>
      <div style="width:650px; height:23px; margin-top:6px;">
        <div class="fl" style="line-height:23px;">课程名称：</div>
        <div class="fl"><input type="text" id="CourseNameTxt" name="CourseNameTxt" /></div>
        <div class="fl" style="line-height:23px;">&nbsp;类别：</div>
        <div class="fl">
          <select id="CategorySlt" name="CategorySlt" style="*margin-top:2px; _margin-top:2px;">
            <option value="-1">请选择</option>
            <% if (cc_list.Count > 0) { %>
              <% foreach (CourseCategoryModel model in cc_list) { %>
            <option value="<%=model.ID %>"><%=model.Name%></option>
              <% } %>
            <% } %>
          </select>
        </div>
        <div class="fl">&nbsp;&nbsp;<input type="image" style="width:54px; height:23px;" src="/images/training/btn/search.gif" /></div>
      </div>
    </div>
        
    
    <div class="block">
      <div style="width:650px; height:22px;">
        <img alt="" src="/images/training/icon/pencil.gif" class="fl" />
        <div class="title">&nbsp;我的学习历程</div>
      </div>
      <div class="spe_line_2"></div>
      <div>
        <div class="fl" style="width:115px; padding-top:10px;"><img alt="" src="/images/training/icon/courseschedule_2.gif" /></div>
        
        <div class="fl" style="width:535px;">
        
      <% if (studyList != null && studyList.Count > 0) { %>
        
          <div id="processdatatable">
            <div class="p_rows" style="font-weight:bolder;">
              <div class="p_r_t">课程</div>
              <div class="p_r_c">分类</div>
              <div class="p_r_s">课时</div>
              <div class="p_r_p">学习进度</div>
              <%--<div class="p_r_r">学习记录</div>--%>
            </div>
            
            
        <% foreach (StudyLogForListModel model in studyList) { %>
            
            <div class="p_rows">
              <div class="p_r_t"><%=model.CourseName%></div>
              <div class="p_r_c"><%=model.CourseCategoryName%></div>
              <div class="p_r_s"><%=model.SchoolHour%></div>
              <div class="p_r_p">
                <div class="fr p_data" style="margin-right:10px;">&nbsp;<%=model.Progress %>%</div>
                <div class="fr process_bg" style="margin-top:6px;">
                  <div class="process_per" style="width:<%=(model.Progress/2) %>px;"></div>
                </div>
              </div>
              <%--<div class="p_r_r"><a href="#?id=<%=model.ID %>"><img alt="" src="/images/training/icon/pencil_2.gif" style="margin-top:4px;" /></a></div>--%>
            </div>
            
        <% } %>
            
          </div>
        
          <div class="fr" style="margin:8px 0 0 0;"><%=mypager%></div>
          
        <% } else { %>
        <% } %>
        
        </div>
        
      </div>
    </div>
  <% if (categoryid != -1) { %>
  <script type="text/javascript">
  $("#CategorySlt").val(<%=categoryid %>);
  </script>
  <% } %>
  </form>
</body>
</html>
